<template>
  <div class="login-views">
   <div class="login-title">登录页面</div>
    <div class="login-body">
      <van-cell-group>
      <van-field v-model="loginName" label="登录账号" placeholder="登录账号" />
      <van-field v-model="loginPassword" label="密码" placeholder="登录密码" />
    </van-cell-group>
    </div>
  </div>
</template>
<script setup lang="ts">
import { defineComponent } from 'vue';
import './login.scss'
import {ref} from 'vue';  
defineComponent({
  name: 'LoginPage', // 使用多个单词命名组件
});
const loginName = ref(''); // 登录账号
const loginPassword = ref(''); // 登录密码
</script>